package me.send.business.service.service;

import me.send.business.service.bean.Complain;
import me.send.business.service.mapper.ComplainMapper;
import me.send.framework.util.HelperUtil;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class ComplainService {
	@Autowired
	ComplainMapper complainMapper;
	public int complain(Complain complain) {
		complain.setCreateTime(HelperUtil.getCurrentDate());
		return complainMapper.complain(complain);
	}
}
